function FindProxyForURL(url, host) {
if (isPlainHostName(host))
  return "DIRECT";

else if (shExpMatch(host, "*.google.com"))
  return "PROXY 10.245.250.139:8765";
else if (shExpMatch(host, "*.gmail.com"))
  return "PROXY 10.245.250.139:8765";
else if (shExpMatch(host, "*.googlevideo.com"))
  return "PROXY 10.245.250.139:8765";
else if (shExpMatch(host, "*.youtube.com"))
  return "PROXY 10.245.250.139:8765";
else if (shExpMatch(host, "*.ytimg.com"))
  return "PROXY 10.245.250.139:8765";
else if (shExpMatch(host, "*.ggpht.com"))
  return "PROXY 10.245.250.139:8765";
else if (shExpMatch(host, "*.gstatic.com"))
  return "PROXY 10.245.250.139:8765";
else if (shExpMatch(host, "*.twitter.com"))
  return "PROXY 10.245.250.139:8765";
else if (shExpMatch(host, "*.facebook.com"))
  return "PROXY 10.245.250.139:8765";
else if (shExpMatch(host, "*.blogspot.com"))
  return "PROXY 10.245.250.139:8765";
else if (shExpMatch(host, "*.blogger.com"))
  return "PROXY 10.245.250.139:8765";
else if (shExpMatch(host, "*.blogblog.com"))
  return "PROXY 10.245.250.139:8765";  
else if (shExpMatch(host, "*.voipemulator.com"))
  return "PROXY 10.245.250.139:8765";
else if (shExpMatch(host, "*.editmysite.com"))
  return "PROXY 10.245.250.139:8765";
else if (shExpMatch(host, "*.dropbox.com"))
  return "PROXY 10.245.250.139:8765";
else if (shExpMatch(host, "*.android.com"))
  return "PROXY 10.245.250.139:8765";
else if (shExpMatch(host, "*.chrome.com"))
  return "PROXY 10.245.250.139:8765";
else if (shExpMatch(host, "stackoverflow.com"))
  return "PROXY 10.245.250.139:8765";
else if (shExpMatch(host, "twitter.com"))
  return "PROXY 10.245.250.139:8765";
else if (shExpMatch(host, "t.co"))
  return "PROXY 10.245.250.139:8765";
else if (shExpMatch(host, "*.tumblr.com"))
  return "PROXY 10.245.250.139:8765";
else if (shExpMatch(host, "*.fc2blog.us"))
  return "PROXY 10.245.250.139:8765";
else if (shExpMatch(host, "*.flickr.com"))
  return "PROXY 10.245.250.139:8765";
else if (shExpMatch(host, "*.wordpress.com"))
  return "PROXY 10.245.250.139:8765";

else
  return "DIRECT";
}
